let Utils = require("../../framework/js/utils");

require("./ui_3/modal_1");

module.exports = {
    template: `
        <div class="anu-subpage" style="width: 100%;">          
            <button type="button" class="btn btn-info" @click="openModal">open modal</button>
            <ui-3-modal-1 ref="ui3modal1"></ui-3-modal-1>           
        </div>
    `,
    data() {
        var ret = {};
        return ret;
    },
    mounted() {
        var self = this;
        rootcontroller.getPage(self).attachChildComponentReady();
    },
    methods: {
        service() {
        },
        openModal() {
            var self = this;
            self.$refs.ui3modal1.show({
                id: 1,
                item: {},
                options: {}
            });
        },
        onError(e) {
            console.log('-------------------');
            console.log(e);
            console.log('-------------------');
        }
    }
};